<p>\[
1*2*3 multi-line math
\]</p>

<p>\( 1*2*3 inline-math \)</p>

<p>\[ 1*2*3 math with dollar \]</p>

<p>\[ 1*2*3 \$ \\ \text{dollar with escapes} \]</p>

<p>\( \\ \text{backslash with escapes} \$ 1*2*3 \)</p>

<p>( not <em>really</em> math )</p>

<p>$$ also <em>not</em> math $$</p>

<p>this \(*should* be\) math</p>

<p>this\( *should* also be\) math</p>

<p>and \(this *should* \)too</p>

<p>Something \{ like <em>math</em> but \} is not</p>

<p>Also \(like <em>math</em> but \) is not</p>

<p>\\( should be *math* as well \\\)</p>

<p>This is \( math, and the \\\( inner one \\\) should be \) preserved</p>

<p>\[ did you &lt;em&gt; know &lt;/em&gt; this is math? \]</p>
